* {padding:0px;margin:0px;}
.box1,.box2 {
    width:500px;
    height:180px;
    overflow: hidden; 
    position: relative;
    margin: 20px;
}
ul {
    list-style:none;
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -60px;
}
ul li {
    float: left;
    width: 10px;
    height:10px;
    background: #fff;
    border-radius: 50%;
    margin-right: 10px;
}
ul li.active {background: blue;}